how to write nextLine after nextInt